package com.projectName.www.po;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.time.LocalTime;

public class Order {

    private Integer oId;
    private Timestamp oTime;
    private Integer oNumber;

    private BigDecimal tolPrice;
    private String status;

    private Integer ctmid;
    private Integer slrid;

    @Override
    public String toString() {
        return "Order{" +
                "oId=" + oId +
                ", oTime=" + oTime +
                ", oNumber=" + oNumber +
                ", tolPrice=" + tolPrice +
                ", status='" + status + '\'' +
                ", 顾客id=" + ctmid +
                ", 商家id=" + slrid +
                '}'+"\n";
    }

    public Order() {
    }

    public Order(Timestamp oTime, Integer oNumber, BigDecimal tolPrice, String status, Integer ctmid, Integer slrid) {
        this.oTime = oTime;
        this.oNumber = oNumber;
        this.tolPrice = tolPrice;
        this.status = status;
        this.ctmid = ctmid;
        this.slrid = slrid;
    }


    public Integer getCtmid() {
        return ctmid;
    }

    public void setCtmid(Integer ctmid) {
        this.ctmid = ctmid;
    }

    public Integer getslrid() {
        return slrid;
    }

    public void setslrid(Integer slrid) {
        this.slrid = slrid;
    }

    public Integer getoId() {
        return oId;
    }

    public void setoId(Integer oId) {
        this.oId = oId;
    }

    public Timestamp getoTime() {
        return oTime;
    }

    public void setoTime(Timestamp oTime) {
        this.oTime = oTime;
    }

    public Integer getoNumber() {
        return oNumber;
    }

    public void setoNumber(Integer oNumber) {
        this.oNumber = oNumber;
    }

    public BigDecimal getTolPrice() {
        return tolPrice;
    }

    public void setTolPrice(BigDecimal tolPrice) {
        this.tolPrice = tolPrice;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
